import type { SelectProps } from 'ant-design-vue';
/**
 * 使能标志
 */
export enum EnableFlagEnum{
    ENABLE = 'false',
    DISABLE = 'true',
};
const enableMap = new Map<EnableFlagEnum, string>();
enableMap.set(EnableFlagEnum.ENABLE, '启用');
enableMap.set(EnableFlagEnum.DISABLE, '禁用');
export { enableMap }

/**
 * 头像
 */
const bassUrl = import.meta.env.VITE_APP_BASE;
// 机构身份
export enum AvatarEnum{
    ONE = 'assets/tmp/img/1.png', 
    TWO = 'assets/tmp/img/2.png', 
    THREE = 'assets/tmp/img/3.png', 
    FOUR = 'assets/tmp/img/4.png', 
    FIVE = 'assets/tmp/img/5.png', 
    SIX = 'assets/tmp/img/6.png', 
    SEVEN = 'assets/tmp/img/7.png', 
    EIGHT = 'assets/tmp/img/8.png', 
    NINE = 'assets/tmp/img/9.png', 
    TEN = 'assets/tmp/img/10.png', 
    ELEVEN = 'assets/tmp/img/11.png', 
    TWELVE = 'assets/tmp/img/12.png'
};
export const AvatarArray = ref<SelectProps['options']>([
   {
    value: AvatarEnum.ONE,
    payload: {
      src: bassUrl + AvatarEnum.ONE,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.TWO,
    payload: {
      src: bassUrl + AvatarEnum.TWO,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.THREE,
    payload: {
      src: bassUrl + AvatarEnum.THREE,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.FOUR,
    payload: {
      src: bassUrl + AvatarEnum.FOUR,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.FIVE,
    payload: {
      src: bassUrl + AvatarEnum.FIVE,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.SIX,
    payload: {
      src: bassUrl + AvatarEnum.SIX,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.SEVEN,
    payload: {
      src: bassUrl + AvatarEnum.SEVEN,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.EIGHT,
    payload: {
      src: bassUrl + AvatarEnum.EIGHT,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.NINE,
    payload: {
      src: bassUrl + AvatarEnum.NINE,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.TEN,
    payload: {
      src: bassUrl + AvatarEnum.TEN,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.ELEVEN,
    payload: {
      src: bassUrl + AvatarEnum.ELEVEN,
      style: { backgroundColor: '#f56a00' },
    },
   },
   {
    value: AvatarEnum.TWELVE,
    payload: {
      src: bassUrl + AvatarEnum.TWELVE,
      style: { backgroundColor: '#f56a00' },
    },
   },
])
